<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="API docs for the alwaysNeedsCompositing property from the SpriteBox class, for the Dart programming language.">
  <title>alwaysNeedsCompositing property - SpriteBox class - spritewidget library - Dart API</title>
  <!-- required because all the links are pseudo-absolute -->
  <base href="../..">

  <link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:500,400i,400,300|Source+Sans+Pro:400,300,700" rel="stylesheet">
  <link rel="stylesheet" href="static-assets/github.css">
  <link rel="stylesheet" href="static-assets/styles.css">
  <link rel="icon" href="static-assets/favicon.png">

</head>

<body>

<div id="overlay-under-drawer"></div>

<header id="title">
  <button id="sidenav-left-toggle" type="button">&nbsp;</button>
  <ol class="breadcrumbs gt-separated dark hidden-xs">
    <li><a href="index.html">spritewidget</a></li>
    <li><a href="spritewidget/spritewidget-library.html">spritewidget</a></li>
    <li><a href="spritewidget/SpriteBox-class.html">SpriteBox</a></li>
    <li class="self-crumb">alwaysNeedsCompositing property</li>
  </ol>
  <div class="self-name">alwaysNeedsCompositing</div>
  <form class="search navbar-right" role="search">
    <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
</header>

<main>

  <div class="col-xs-6 col-sm-3 col-md-2 sidebar sidebar-offcanvas-left">
    <h5>SpriteBox class</h5>
    <ol>
      <li class="section-title"><a href="spritewidget/SpriteBox-class.html#constructors">Constructors</a></li>
      <li><a href="spritewidget/SpriteBox/SpriteBox.html">SpriteBox</a></li>
    
      <li class="section-title">
        <a href="spritewidget/SpriteBox-class.html#instance-properties">Properties</a>
      </li>
      <li><a href="spritewidget/SpriteBox/frameRate.html">frameRate</a></li>
      <li><a href="spritewidget/SpriteBox/rootNode.html">rootNode</a></li>
      <li><a href="spritewidget/SpriteBox/transformMatrix.html">transformMatrix</a></li>
      <li><a href="spritewidget/SpriteBox/transformMode.html">transformMode</a></li>
      <li><a href="spritewidget/SpriteBox/visibleArea.html">visibleArea</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/alwaysNeedsCompositing.html">alwaysNeedsCompositing</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/attached.html">attached</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/constraints.html">constraints</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/debugCanParentUseSize.html">debugCanParentUseSize</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/debugCreator.html">debugCreator</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/debugDoingThisLayout.html">debugDoingThisLayout</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/debugDoingThisPaint.html">debugDoingThisPaint</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/debugDoingThisResize.html">debugDoingThisResize</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/debugLayer.html">debugLayer</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/debugNeedsLayout.html">debugNeedsLayout</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/debugNeedsPaint.html">debugNeedsPaint</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/debugSemantics.html">debugSemantics</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/depth.html">depth</a></li>
      <li class="inherited"><a href="dart-core/Object/hashCode.html">hashCode</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/hasSize.html">hasSize</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/isRepaintBoundary.html">isRepaintBoundary</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/layer.html">layer</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/needsCompositing.html">needsCompositing</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/owner.html">owner</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/paintBounds.html">paintBounds</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/parent.html">parent</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/parentData.html">parentData</a></li>
      <li class="inherited"><a href="dart-core/Object/runtimeType.html">runtimeType</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/semanticBounds.html">semanticBounds</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/size.html">size</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/sizedByParent.html">sizedByParent</a></li>
    
      <li class="section-title"><a href="spritewidget/SpriteBox-class.html#instance-methods">Methods</a></li>
      <li><a href="spritewidget/SpriteBox/attach.html">attach</a></li>
      <li><a href="spritewidget/SpriteBox/detach.html">detach</a></li>
      <li><a href="spritewidget/SpriteBox/findNodesAtPosition.html">findNodesAtPosition</a></li>
      <li><a href="spritewidget/SpriteBox/handleEvent.html">handleEvent</a></li>
      <li><a href="spritewidget/SpriteBox/hitTest.html">hitTest</a></li>
      <li><a href="spritewidget/SpriteBox/paint.html">paint</a></li>
      <li><a href="spritewidget/SpriteBox/performLayout.html">performLayout</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/adoptChild.html">adoptChild</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/applyPaintTransform.html">applyPaintTransform</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/assembleSemanticsNode.html">assembleSemanticsNode</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/clearSemantics.html">clearSemantics</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/computeDistanceToActualBaseline.html">computeDistanceToActualBaseline</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/computeMaxIntrinsicHeight.html">computeMaxIntrinsicHeight</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/computeMaxIntrinsicWidth.html">computeMaxIntrinsicWidth</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/computeMinIntrinsicHeight.html">computeMinIntrinsicHeight</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/computeMinIntrinsicWidth.html">computeMinIntrinsicWidth</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/debugAdoptSize.html">debugAdoptSize</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/debugAssertDoesMeetConstraints.html">debugAssertDoesMeetConstraints</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/debugDescribeChildren.html">debugDescribeChildren</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/debugFillProperties.html">debugFillProperties</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/debugHandleEvent.html">debugHandleEvent</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/debugPaint.html">debugPaint</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/debugPaintBaselines.html">debugPaintBaselines</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/debugPaintPointers.html">debugPaintPointers</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/debugPaintSize.html">debugPaintSize</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/debugRegisterRepaintBoundaryPaint.html">debugRegisterRepaintBoundaryPaint</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/debugResetSize.html">debugResetSize</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/describeApproximatePaintClip.html">describeApproximatePaintClip</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/describeSemanticsConfiguration.html">describeSemanticsConfiguration</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/dropChild.html">dropChild</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/getDistanceToActualBaseline.html">getDistanceToActualBaseline</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/getDistanceToBaseline.html">getDistanceToBaseline</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/getMaxIntrinsicHeight.html">getMaxIntrinsicHeight</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/getMaxIntrinsicWidth.html">getMaxIntrinsicWidth</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/getMinIntrinsicHeight.html">getMinIntrinsicHeight</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/getMinIntrinsicWidth.html">getMinIntrinsicWidth</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/getTransformTo.html">getTransformTo</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/globalToLocal.html">globalToLocal</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/hitTestChildren.html">hitTestChildren</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/hitTestSelf.html">hitTestSelf</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/invokeLayoutCallback.html">invokeLayoutCallback</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/layout.html">layout</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/localToGlobal.html">localToGlobal</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/markNeedsCompositingBitsUpdate.html">markNeedsCompositingBitsUpdate</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/markNeedsLayout.html">markNeedsLayout</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/markNeedsLayoutForSizedByParentChange.html">markNeedsLayoutForSizedByParentChange</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/markNeedsPaint.html">markNeedsPaint</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/markNeedsSemanticsUpdate.html">markNeedsSemanticsUpdate</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/markParentNeedsLayout.html">markParentNeedsLayout</a></li>
      <li class="inherited"><a href="dart-core/Object/noSuchMethod.html">noSuchMethod</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/performResize.html">performResize</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/reassemble.html">reassemble</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/redepthChild.html">redepthChild</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/redepthChildren.html">redepthChildren</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/replaceRootLayer.html">replaceRootLayer</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/rotate.html">rotate</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/scheduleInitialLayout.html">scheduleInitialLayout</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/scheduleInitialPaint.html">scheduleInitialPaint</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/scheduleInitialSemantics.html">scheduleInitialSemantics</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/setupParentData.html">setupParentData</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/showOnScreen.html">showOnScreen</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/toDiagnosticsNode.html">toDiagnosticsNode</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/toString.html">toString</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/toStringDeep.html">toStringDeep</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/toStringShallow.html">toStringShallow</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/toStringShort.html">toStringShort</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/visitChildren.html">visitChildren</a></li>
      <li class="inherited"><a href="spritewidget/SpriteBox/visitChildrenForSemantics.html">visitChildrenForSemantics</a></li>
    
      <li class="section-title inherited"><a href="spritewidget/SpriteBox-class.html#operators">Operators</a></li>
      <li class="inherited"><a href="dart-core/Object/operator_equals.html">operator ==</a></li>
    
    
    
    </ol>
  </div><!--/.sidebar-offcanvas-->

  <div class="col-xs-12 col-sm-9 col-md-8 main-content">
    <h1>alwaysNeedsCompositing property</h1>


        <section id="getter">
        
        <section class="multi-line-signature">
          <span class="returntype"><a href="dart-core/bool-class.html">bool</a></span>
          <span class="name ">alwaysNeedsCompositing</span>
  <div class="features">@protected, inherited</div>
</section>
        
        <section class="desc markdown">
  <p>Whether this render object always needs compositing.</p>
<p>Override this in subclasses to indicate that your paint function always
creates at least one composited layer. For example, videos should return
true if they use hardware decoders.</p>
<p>You must call <a href="spritewidget/SpriteBox/markNeedsCompositingBitsUpdate.html">markNeedsCompositingBitsUpdate</a> if the value of this getter
changes. (This is implied when <a href="spritewidget/SpriteBox/adoptChild.html">adoptChild</a> or <a href="spritewidget/SpriteBox/dropChild.html">dropChild</a> are called.)</p>
</section>
<section class="summary source-code" id="source">
  <h2><span>Implementation</span> </h2>
  <pre class="language-dart"><code class="language-dart">@protected
bool get alwaysNeedsCompositing =&gt; false;</code></pre>
</section>
</section>
        
  </div> <!-- /.main-content -->

  <div class="col-xs-6 col-sm-6 col-md-2 sidebar sidebar-offcanvas-right">
  </div><!--/.sidebar-offcanvas-->

</main>

<footer>
  <span class="no-break">
    spritewidget 0.9.16
  </span>

</footer>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="static-assets/typeahead.bundle.min.js"></script>
<script src="static-assets/highlight.pack.js"></script>
<script src="static-assets/URI.js"></script>
<script src="static-assets/script.js"></script>


</body>

</html>
